]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
edgeDragAction: Drop grab-op-begin signal connection
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 31 Oct 2022 12:14:10 +0000 (13:14 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 30 Jan 2023 12:19:22 +0000 (12:19 +0000)
This is done just to "reset" the gesture when a grab operation
begins. With grab ops being based on ClutterGrab now, the gesture
will be implicitly reset when these happen. This is unnecessary now.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2526>

js/ui/edgeDragAction.js

index c0f9e4edd010cb40615244029186adec41a173d5..25d1d3fb2d848a05547970d6a4807f73a6314f35 100644 (file)
@@ -20,8 +20,6 @@ var EdgeDragAction = GObject.registerClass({
         this._allowedModes = allowedModes;
         this.set_n_touch_points(1);
         this.set_threshold_trigger_edge(Clutter.GestureTriggerEdge.AFTER);
-
-        global.display.connect('grab-op-begin', () => this.cancel());
     }
 
     _getMonitorRect(x, y) {